package com.dailyblue.project.estate.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dailyblue.project.estate.commons.bean.Device;
import com.dailyblue.project.estate.commons.util.JsonResult;
import org.springframework.stereotype.Service;

/**
 * @Auther:Liu
 * @Testname:DeviceService
 * @Date:2025/9/18 15:26
 */
@Service
public interface DeviceService extends IService<Device> {
    //添加数据
    JsonResult saveDevice(Device device);
    //查找一条数据
    JsonResult findOne(String id);
    //查找所有数据
    JsonResult findAllDevice();
    //删除一条数据
    JsonResult deleteDevice(String id);
    //更新数据
    JsonResult updateDevice(Device device);
}
